//---------------------------------------------------------------------------

#ifndef MultiTimerH
#define MultiTimerH
#include <windows.h>
//#include <math.h>

#define Accuracy 1
#define Min(x,y)  ((x < y) ? x : y)
#define Max(x,y)  ((x > y) ? x : y)

extern UINT BarTimerID, PreOffTimerID, ComposeTimerID;
extern int TimerAccuracy;
extern int TimerInterval;
extern bool TimerEnabled;

void TimerBeginPeriod();
void TimerEndPeriod();
void BarTimerStart();
void BarTimerStop();
void PASCAL BarTimerCallProc(UINT TimerID, UINT msg,DWORD dwUser, DWORD dwa,DWORD dwb);
//---------------------------------------------------------------------------
#endif
